#include "box.h"
#include <math.h>

void PutInsideBox(std::vector<double> &coord, const double &box_length)
{
    for (size_t i = 0; i < coord.size(); ++i)
    {
        coord[i] -= box_length * nearbyint(coord[i] / box_length);
    }
    return;
}
